<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/static/commons/taglibs.jsp"%>
<%@ include file="/static/commons/meta.jsp"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>气体报警仪原始记录-CO</title>
		<link rel="stylesheet" href="${ctx}/static/styles/login/Global.css" />
		<link rel="stylesheet" href="${ctx}/static/styles/template/ysrecode.css" />
		<script type="text/javascript">
            var headers = {};
            headers['__RequestVerificationToken'] = "${RequestVerificationToken}";
            var _root="${ctx}";
            var _type="co";
            var _xytimerow=2; //响应时间填写的行数
		</script>

	</head>

	<body>
		<div class="ys-record">
			<!--标题-->
			<div class="title">气体检测报警仪校准原始记录</div>

			<!--送检信息-->
			<ul>
				<li><label class="fit">CX-28--JL-03</label></li>
				<li>
					<label>证书编号:</label><em>气检仪<i style="width: 50px;">${zi}</i>字第</em><span class="short">${hao}</span><em>号</em></li>
				<li>
					<label>送检单位:</label><span>${equ.cust_name}</span></li>
				<li>
					<label>仪器名称:</label><span>${equ.device_name}</span></li>
				<li>
					<label>制造厂商:</label><span>${equ.device_manufactor}</span></li>
				<li>
					<label>仪器型号:</label><span>${equ.device_model}</span></li>
				<li>
					<label>仪器编号:</label><span>${equ.device_no}</span></li>
				<li>
					<label>测量范围:</label><span contenteditable="true"><vvise:select id="rangeId" name="p_range" sqlname="getRange" sqlparam="${equ.device_type},${gasType}"
																				   className="wd170" width="99%" ifSelect="${ifSelect}"
																				   onchange="selectScopeChange"/></span></li>
				<li>
					<label>环境温度:</label><span contenteditable="true" id="hjwd" ></span>℃</li>
				<li>
					<label>环境湿度:</label><span contenteditable="true" id="hjsd"></span>%RH</li>
				<li>
					<label>气&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;压:</label><span contenteditable="true"></span>Pa</li>
				<li>
					<label>检定依据:</label><span id="jdyjId">${verify}</span></li>
			</ul>

	
			<!--检定标准及装置-->
			<table>
				<caption>检定用标准和装置：</caption>
				<thead>
					<tr>
						<th>名称</th>
						<th>编号</th>
						<th>测量范围</th>
						<th>不确定度</th>
						<th>证书编号</th>
						<th>有效期</th>
					</tr>
				</thead>
				<tbody id="MeasureScopeTbodyId">
					<tr>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
						<td></td>
					</tr>

				</tbody>
			</table>
			
			
			<!--一，外观及功能性检查--> 
			<dl>
				<dt>一、外观及功能性检查</dt>
				<dd>
					<label>外&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;观:</label>	
					<span>
						<label>
							<input type="radio" name="wg" value="normal" checked  />
							正常；
						</label>
						<label>
							<input type="radio" name="wg" value="other" />
							其他：<input id="wgOtherId" type="text" style="width: 350px;">
						</label>
					</span>
				</dd>
				<dd>
					<label>采样方式:</label>
					<span>
						<label>
							<input type="radio" name="cyfs" value="泵吸式" checked  />
							泵吸式；
						</label>
						<label>
							<input type="radio" name="cyfs" value="扩散式" />
							扩散式；
						</label>
					</span>
				</dd>
				<dd>
					<label>声光报警:</label>
					<span>
						<label>
							<input type="radio" name="sgbj" value="normal" checked />
							正常；
						</label>
						<label>
							<input type="radio" name="sgbj" value="other" />
							其他：<input type="text" style="width: 350px;">
						</label>
					</span>
				</dd>
				<dd>
					<label style="width: 65px;">报警浓度值:</label>
					<span>
						<label>
								<input id="bjndz" type="text" style="width: 200px;">μmol/mol
						</label>
					</span>
				</dd>
			</dl>
			
			
			
			<!--四，示值误差，重复性，响应时间-->
			<table>
				<caption>四、示值误差、重复性、响应时间：</caption>		
				<thead>
					<tr>
						<th rowspan="2" style="width: 100px;">标气浓度</br>μmol/mol￼	</th>
						<th colspan="6">示值误差</th>
						<th colspan="4">响应时间/s</th>
					</tr>
					<tr>
						<th>1</th>
						<th>2</th>
						<th>3</th>
						<th>X</th>
						<th style="width: 60px;">绝对<br/>误差</th>
						<th style="width: 60px;">相对<br/>误差</th>
						<th>1</th>
						<th>2</th>
						<th>3</th>
						<th>t</th>
					</tr>
				</thead>
				<tbody id="CalculationTbodyId">
					<tr>
						<td></td>
						<td contenteditable="true"></td>
						<td contenteditable="true"></td>
						<td contenteditable="true"></td>
						<td contenteditable="true"></td>
						<td></td>
						<td></td>
						<td>/</td>
						<td>/</td>
						<td>/</td>
						<td>/</td>
					</tr>
				</tbody>
				<tfoot>
					<tr>
						<th rowspan="2">重复性</th>
						<td>1</td>
						<td>2</td>
						<td>3</td>
						<td>4</td>
						<td>5</td>
						<td>6</td>
						<td colspan="3">s <sub>r</sub></td>
						<td rowspan="2"></td>
					</tr>
					<tr>
						<td contenteditable="true" name="repeat"></td>
						<td contenteditable="true" name="repeat"></td>
						<td contenteditable="true" name="repeat"></td>
						<td contenteditable="true" name="repeat"></td>
						<td contenteditable="true" name="repeat"></td>
						<td contenteditable="true" name="repeat"></td>
						<td colspan="3" id="repeatId"></td>
					</tr>
				</tfoot>
			</table>
			
			<!--五，漂移-->
			<table>
				<caption>五、漂移</caption>
				<thead>
					<tr>
						<th style="width: 130px;">时间</th>
						<th>0h<br/>0min</th>
						<th>1h<br/>15min</th>
						<th>2h<br/>30min</th>
						<th>3h<br/>45min</th>
						<th>4h<br/>60min</th>
						<th>Z max</th>
						<th>S max</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<th>零点值（Z）</th>
						<td contenteditable="true" name="zero" id="z0"></td>
						<td contenteditable="true" name="zero" id="z1"></td>
						<td contenteditable="true" name="zero" id="z2"></td>
						<td contenteditable="true" name="zero" id="z3"></td>
						<td contenteditable="true" name="zero" id="z4"></td>
						<td id="zMaxId"></td>
						<td></td>
					</tr>
					<tr>
						<th>示值读数（S）</th>
						<td contenteditable="true" name="indication" id="i0"></td>
						<td contenteditable="true" name="indication" id="i1"></td>
						<td contenteditable="true" name="indication" id="i2"></td>
						<td contenteditable="true" name="indication" id="i3"></td>
						<td contenteditable="true" name="indication" id="i4"></td>
						<td ></td>
						<td id="iMaxId"></td>
					</tr>
				</tbody>
				<tfoot class="t-l">
					<tr>
						<td>零点漂移：</td>
						<td colspan="3" id="zPYId"></td>
						<td colspan="4">示值漂移：<span id="iPYId"></span></td>
					</tr>
				</tfoot>
			</table>
			
			<!--底部检测人员信息-->
			<ol>
				<li>
					<label>检定结论:</label>
					<span id="verifiedResultId"></span>
				</li>
				<li>
					<label>检定日期:</label>
					<span>${date}</span>
				</li>
				<li>
					<label>检&nbsp;&nbsp;定&nbsp;&nbsp;员:</label>
					<span >${verifiedUser}</span>
				</li>
				<li>
					<label>核&nbsp;&nbsp;验&nbsp;&nbsp;员:</label>
					<span>${checkedUser}</span>
				</li>
			</ol>
		</div>
	</body>
<input type="hidden" name="orderId" id="orderId" value="${orderId}" />
<input type="hidden" name="equId" id="equId" value="${equId}" />
<input type="hidden" name="sort" id="sortId" value="${sort}" />
<input type="hidden" id="ydyId" value="${verifiedUserId}" />
<input type="hidden" id="hyyId" value="${checkedUserId}" />
<input type="hidden" name="scopeId" id="scopeId"/>
</html>
<script type="text/javascript" src="${ctx}/static/scripts/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="${ctx}/static/scripts/template/formulaUtil.js"></script>
<script type="text/javascript" src="${ctx}/static/js/test/certificate/make/certValueCalculation.js"></script>
<script type="text/javascript" src="${ctx}/static/scripts/template/init.js"></script>